package com.xiaocg.entity;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author xiaocg
 */
@Getter
public enum SexEnum {

    MAN(1,"男"),
    WOMAN(2,"女");


    SexEnum(Integer sex, String sexName) {
        this.sex = sex;
        this.sexName = sexName;
    }

    @EnumValue
    private Integer sex;

    private String sexName;
}
